setGlobalDuration(20)

env = genAdsr()
randomChoice(bus='pit1', choice=[.25,.5,.75,1,1.25,1.5,2], rate=1, portamento=.005)
randomChoice(bus='pit2', choice=[.25,.5,.75,1,1.25,1.5,2], rate=2, portamento=.005)
randomChoice(bus='pit3', choice=[.25,.5,.75,1,1.25,1.5,2], rate=4, portamento=.005)
sine(pitch=400, amplitude=.3, envelope=env, pitchVar='pit1')
sine(pitch=400, amplitude=.3, envelope=env, pitchVar='pit2')
sine(pitch=400, amplitude=.3, envelope=env, pitchVar='pit3')

startCsound()
